package cn.ebook.util;

import com.google.gson.Gson;
import com.google.gson.GsonBuilder;

public class GsonUtil {

	static Gson g = new GsonBuilder().serializeNulls().create();

	public static String getJson(Object obj) {
		return g.toJson(obj);
	}
}
